package com.yixin.hospital.entity.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.yixin.hospital.entity.bo.GodownDrugDetail;
import lombok.Data;
import lombok.ToString;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

@Data
@ToString
public class PurchaseOrderOperationVo {

    @TableId(type = IdType.AUTO)
    private Long id;

    private Long purchaseOrderId;

    private String drugCode;

    private Integer num;

    private Integer operationType;

    private Long sourceDepositoryId;

    private Long targetDepositoryId;

    /**
     * 是否完成出库(默认1，调拨时 为0)
     */
    private Integer isOutPut;

    private String createdBy;

    private Date createdTime;

    private String updatedBy;

    private Date updatedTime;

    private List<GodownDrugDetail> godownDrugList = new ArrayList<>();
}
